package com.springboot.cloud.demos.entity.enums;

public enum VipStatus implements BaseEnum {

    no("0", "非会员"), yes("1", "是会员"), expired("99", "已过期");

    private String code;
    private String name;

    VipStatus(String code, String name) {
        this.code = code;
        this.name = name;

    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getName() {
        return this.name;
    }
}
